package com.crm.sys.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.crm.sys.model.FilesInfo;

public interface FilesInfoService {
	/**
	 * 保存文件
	 * @return
	 */
	public List<FilesInfo> saveFile(List<MultipartFile> list);
	/**
	 * 根据文件ID查询文件内容
	 * @param finfo
	 * @return
	 */
	public FilesInfo getFileInfoByID(FilesInfo finfo);
	
	public int saveUserPicture(MultipartFile file, Long uid, String path);
	
	public String savePicture(MultipartFile file, String newname, String path);
	
	public String saveFiles(MultipartFile file,String newname, String path) ;
	
}
